package com.kun.mapper;

import com.kun.entity.RoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface RoleMenuMapper {

    public int addRoleMenu(RoleMenu roleMenu);

    public int deleteRoleMenu(int roleId);


    public List<RoleMenu> selectAllRoleMenus(Map map);

}
